package com.system.common.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("seckillorders")
public class SeckillOrders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;// 秒杀订单ID
    private String orderno;
    private Integer userid;        // 用户ID
    private Integer seckillgoodsid;
    private Integer status;
    private String payno;
    private Date paytime;
    private String refundno;
    private Date refundtime;
    private Date shiptime;
    private Date arrivaltime;
    private Integer addressid;
    private Date createtime;
    private Date updatetime;
    @TableLogic
    private Integer isdel; // 逻辑删除
}
